package com.dhcc.bpm.modules.content.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;

/**
 * @ClassName Message
 * @Description 推送消息表实体类
 * @Author daina
 * @Date 2020/3/12 15:40
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
@Data
@TableName("opc_message")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Message对象", description = "推送消息表")
public class Message extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 消息名称
	*/
		@ApiModelProperty(value = "消息名称")
		private String msgName;
	/**
	* 消息编号
	*/
		@ApiModelProperty(value = "消息编号")
		private String msgCode;
	/**
	* 消息内容
	*/
		@ApiModelProperty(value = "消息内容")
		private String msgContent;
	/**
	* 描述
	*/
		@ApiModelProperty(value = "描述")
		@TableField(value = "`describe`")
		private String describe;
	/**
	* 接收消息用户ID
	*/
		@ApiModelProperty(value = "接收消息用户ID")
		private String receiver;
	/**
	* 消息类型，0全局1个人
	*/
		@ApiModelProperty(value = "消息类型，0全局1个人")
		private String msgType;

	/**
	 * 推送状态，1 未推送 2 已推送
	 */
	@ApiModelProperty(value = "推送状态，1 未推送 2 已推送")
	private Integer pushStatus;

	/**
	 * 推送方式
	 */
	@ApiModelProperty(value = "推送方式")
	private String pushChnl;

}
